package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper

public interface DishFlavorMapper {
    void deleteByDishId(Long id);

    List<DishFlavor> getByDishId(Long id);

    void update(DishFlavor dishFlavor);

    void deleteByDishDTOId(Long id);

    void insertBath(List<DishFlavor> flavors);
}
